home *** CD-ROM | disk | FTP | other *** search
- /*
- * @(#)java.h 1.9 98/06/29
- *
- * Copyright 1998 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
-
- #ifndef _JAVA_H_
- #define _JAVA_H_
-
- /*
- * Get system specific defines.
- */
- #include "jni.h"
- #include "java_md.h"
-
- /*
- * Pointers to the needed JNI invocation API, initialized by LoadJavaVM.
- */
- typedef struct {
- jint (JNICALL *CreateJavaVM)(JavaVM **pvm, void **env, void *args);
- jint (JNICALL *GetDefaultJavaVMInitArgs)(void *args);
- } InvocationFunctions;
-
- /*
- * Protoypes for launcher functions in the system specific java_md.c.
- */
- jboolean LoadJavaVM(char *jvmtype, InvocationFunctions *ifn);
- void GetXUsagePath(char *buf, jint bufsize);
- jboolean GetApplicationHome(char *buf, jint bufsize);
-
- /*
- * Make launcher spit debug output.
- */
- extern jboolean debug;
-
- #endif /* _JAVA_H_ */
-